package com.ggkt.domain;

public class Student {
    String name;
    Integer age;
    String gender;

    public Student(String name,Integer age) {
        this.name=name;
        this.age=age;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString(){
        String str="";
        str = "My name is "+this.name+" and I am "+this.age+" years old";
        return str;
    }

}
